import Router from "koa-router";

import { PERFIX_URL } from "@/config/router";

const KoaRouter = new Router();
KoaRouter.prefix(`${PERFIX_URL}/test`);

// 测试
KoaRouter.get("/test", async (ctx) => {
  ctx.status = 200;
  ctx.body = {
    success: true
  };
});
export default KoaRouter;